package com.library.service;/*
 *@author lzg
 *@data 2020/11/18
 */

import com.library.entity.Book;
import com.library.entity.BorrowRecode;

import java.util.List;

public interface BookService {
    List<Book> findAll(Integer page);

    int getPageSize(Integer limitNum);

    void addBorrow(Integer bookId, Integer readerId);

    List<BorrowRecode> findAllBorrowRecodeByReaderId(Integer readerId);
}
